package com.neuedu.config.configuration;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value="classpath:jdbc.properties",ignoreResourceNotFound = true)
public class OtherConfigFile {

    @Value("${jdbc.url}")
    private String url;

    @Bean("url")
    String getUrl(){
        System.out.println("url = " + url);
        return url;
    }


}
